﻿using FreeSql.DataAnnotations;
using IMES.Common.Dtos;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IMES.Common.Domain.SirModel
{
    /// <summary>
    /// 不良品信息表
    /// </summary>
    public class Defectives:Audit
    {
        /// <summary>
        /// 不良品信息主键id
        /// </summary>
        [Column(IsIdentity = true, IsPrimary = true)]
        public int DefectiveId { get; set; }
        /// <summary>
        /// 不良品项编号
        /// </summary>
        public string DefectiveNo { get; set; }
        /// <summary>
        /// 不良品项名称
        /// </summary>
        public string DefectiveName { get; set; }
        /// <summary>
        /// 附件
        /// </summary>
        public string? Annex { get; set; }
        /// <summary>
        /// 图片
        /// </summary>
        public string? Image { get; set; }
    }
}
